import Vue from 'vue'
import App from './App'
import entryConfig from '@/common/entryConfig/'
import store from './store'
import VueLazyLoad from 'vue-lazyload'
import * as filters from '@/utils/filters'

Object.keys(filters).forEach(key => {
    Vue.filter(key, filters[key])
})
Vue.use(VueLazyLoad,{
    error: require('./static/lazy/error.png'),
    loading: require('./static/lazy/loading.png')
})
Vue.config.productionTip = false;

Vue.prototype.$store = store
	
// 封装的页面跳转方法
entryConfig(Vue)
App.mpType = 'app'

const app = new Vue({
    ...App,
	store
})
app.$mount()
